/**
 * 
 */
package com.tiduyun.data.exchange.util.http;

import java.util.Collections;
import java.util.Date;
import java.util.List;

import org.apache.http.client.CookieStore;
import org.apache.http.cookie.Cookie;

/**
 * @author wuzheng@tiduyun.com
 *
 */
public class EmptyCookieStore implements CookieStore {

    /**
     * @see org.apache.http.client.CookieStore#addCookie(org.apache.http.cookie.Cookie)
     */
    @Override
    public void addCookie(Cookie cookie) {
    }

    /**
     * @see org.apache.http.client.CookieStore#getCookies()
     */
    @Override
    public List<Cookie> getCookies() {
        return Collections.emptyList();
    }

    /**
     * @see org.apache.http.client.CookieStore#clearExpired(java.util.Date)
     */
    @Override
    public boolean clearExpired(Date date) {
        return true;
    }

    /**
     * @see org.apache.http.client.CookieStore#clear()
     */
    @Override
    public void clear() {
    }

}
